﻿<!--
// This File is part of Innovation Foundry's "QualityHelper Project"
//
// Copyright  2009 Innovation Foundry Pty Ltd
// All rights reserved
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA  02110-1301 USA
// or alternatively it may be downloaded from <http://www.gnu.org/licenses/>.
-->
    <UserControl x:Class="InnovationFoundry.QualityHelper.Silverlight.Assets.Connectors.Test"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
        <Canvas>
        <Line x:Name="VerticalLine" X1="70" X2="70" Y1="100" Y2="205" Stroke="Red" StrokeThickness="3" ></Line>
        <Line x:Name="HorizontalLine" X1="69" X2="205" Y1="100" Y2="100" Stroke="Green" StrokeThickness="3">
        </Line>
        <TextBlock Text="Sample Text" FontSize="8" RenderTransformOrigin="0.5,0.5"  Width="50" Height="10" TextWrapping="Wrap">
            <TextBlock.RenderTransform>
                <TransformGroup>
                    <RotateTransform Angle="-90"></RotateTransform>
                </TransformGroup>
            </TextBlock.RenderTransform>
        </TextBlock>

            <Rectangle Height="80" Width="2" Fill="#FF000000" x:Name="line1ArrowAngleRightDown"/>
            <Rectangle Height="2" Width="80" Fill="#FFFFFF00" x:Name="line2ArrowAngleRightDown" Canvas.Top="80" />
            <Rectangle Height="80" Width="2" Fill="#FFCCCCCC" x:Name="line3ArrowAngleRightDown" Canvas.Left="80" Canvas.Top="80" />
            <Polygon x:Name="triangleArrowAngleRightDown"
    				Points="0,0 0,1 1,1"
    				Fill="#FF000000"
    				Width="8"
    				Height="8"
    				Stretch="Fill"
    				RenderTransformOrigin="0.5,0.5" Canvas.ZIndex="0" Canvas.Top="155" Canvas.Left="77">
                <Polygon.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform Angle="-45"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Polygon.RenderTransform>
            </Polygon>



        </Canvas>
    </Grid>
</UserControl>
